#include "FunctionPositionerWidget.h"

void RFunctionPositionerWidget::CalculateChildrenPresentPositionAndSize()
{
    if(ArrangeChildrenFunction.IsBound())
    {
        ArrangeChildrenFunction.Execute();

        for (auto Child : SubWidgets)
        {
            Child->CalculateChildrenPresentPositionAndSize();
        }

    }
    else
    {
        Super::CalculateChildrenPresentPositionAndSize();
    }

}
